package com.atguigu.entity;

/**
 * @author : leimingchao
 * @version V1.0
 * @Project: common_mapper
 * @Package com.atguigu.entity
 * @Description: TODO
 * @date Date : 2021年05月24日 21:37
 */
public enum SeasonEnum {
    SPRING("spring", 10), SUMMER("summer", 20), AUTUMN("autumn", 30), WINTER("winter", 40);

    private String seasonName;
    private Integer code;

    private SeasonEnum(String seasonName, Integer code) {
        this.seasonName = seasonName;
        this.code = code;
    }

    public String getSeasonName() {
        return seasonName;
    }

    public void setSeasonName(String seasonName) {
        this.seasonName = seasonName;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
